import Vue from "vue";
import Vuex from "vuex";
import systemModule from "./modules/system.js";
import tabbarModule from "./modules/tabbar.js";
import appModule from "./modules/app.js";
import userModule from "./modules/user.js";

Vue.use(Vuex);
const store = new Vuex.Store({
  // 注册模块
  modules: {
    system: systemModule,
    tabbar: tabbarModule,
    app: appModule,
    user: userModule,
  },
});
export default store;
